/**
 *  页面导航
 *  @auth xlx_good@qq.com
 *  @date 17/6/21.
 *
 */

(function(win){

    var goodsManage = [
        {name: '商品列表', url: 'web/goods/goods.html', subclass: [], icon: '', active: false},
        {name: '分类管理', url: 'web/goods/goodsCategory.html', subclass: [], icon: '', active: false},
        {name: '新增商品', url: 'web/goods/goodsAdd.html', subclass: [], icon: '', active: false},
    ];
    var customerManage = [
        {name: '客户列表', url: 'web/order/waitDispatch.html', subclass: [], icon: '', active: false},
        {name: '分组管理', url: 'web/order/list.html', subclass: [], icon: '', active: false},
    ];
    var orderManage = [
        {name: '订单管理', url: 'web/statistics/day.html', subclass: [], icon: '', active: false},
    ];
    var shopManage = [
        {name: '基本信息', url: 'web/account/account.html', subclass: [], icon: '', active: false},
        {name: '广告位设置', url: 'web/account/account.html', subclass: [], icon: '', active: false},
        {name: '运费设置', url: 'web/account/account.html', subclass: [], icon: '', active: false},
    ];

    win.navPage = [
        {name: '首页', url: 'web/home/home.html', subclass: [], icon: 'fa-home', active: true},
        {name: '商品管理', url: '', subclass: goodsManage, icon: 'fa-list-alt', active: false},
        {name: '客户管理', url: '', subclass: customerManage, icon: 'fa-user', active: false},
        {name: '订单管理', url: 'web/home/home.html', icon: 'fa-file-text-o', active: false},
        {name: '店铺管理', url: '', subclass: shopManage, icon: 'fa-building-o', active: false},
        {name: '退出登录', url: '', subclass: shopManage, icon: 'fa-building-o', active: false},
    ];
})(window);